package com.qijian.quality.domain.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.qijian.common.annotation.Excel;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 管理流程数据对象
 *
 * @author qijian
 * @date 2022-04-06
 */

@Data
@ToString
public class FlowableDataReportVo {

    @Excel(name = "请求标题")
    private String title;

    @Excel(name = "单据编号")
    private String code;

    @Excel(name = "检验员")
    private String ncrCheckBy;

    @Excel(name = "检验日期")
    private String ncrCheckDate;

    @Excel(name = "不合格类型")
    private String cunType;

    @Excel(name = "不符合类型")
    private String accordType;

    @Excel(name = "开工令")
    private String projectMachineNo;

    @Excel(name = "项目编号")
    private String projectNo;

    private String projectNoOrigin;

    @Excel(name = "项目名称")
    private String projectName;

    @Excel(name = "机台号")
    private String machineNo;

    @Excel(name = "物料名称")
    private String materialName;

    @Excel(name = "工序")
    private String work;

    @Excel(name = "不合格数量")
    private Integer cunqualifiedNum;

    @Excel(name = "接受人")
    private String receiveBy;

    @Excel(name = "接收部门")
    private String receiveDeptName;

    @Excel(name = "严重程度")
    private String severityIndex;

    @Excel(name = "工艺处理人")
    private String processHandler;

    @Excel(name = "项目主管")
    private String projectDirector;

    @Excel(name = "不合格事实描述")
    private String remark;

    @Excel(name = "责任部门")
    private String zrDept;

    @Excel(name = "NCR来源")
    private String ncrSource;

    @Excel(name = "图号")
    private String drawing;

    @Excel(name = "损失金额")
    private BigDecimal amount;

    @Excel(name = "根本原因分析")
    private String analysis;

    @Excel(name = "责任相关人")
    private String rpNickName;

    @Excel(name = "责任部门")
    private String rpDepr;

    @Excel(name = "奖惩额度")
    private BigDecimal rpAmount;

    @Excel(name = "责任人")
    private String zrxgr;



    /**
     * 非data数据
     */
    @Excel(name = "问题分类")
    private String wtfl;

    @Excel(name = "创建人")
    private String createBy;

    @Excel(name = "创建时间", dateFormat = "yyyy-MM-dd")
    private Date createTime;

    @Excel(name = "最新处理日期", dateFormat = "yyyy-MM-dd")
    private Date updateTime;

    @Excel(name = "确认通过")
    private String confirmPass;

    @Excel(name = "确认信息补充说明")
    private String confirmPassExplain;

    @Excel(name = "罚款建议")
    private String fkjy;

    @Excel(name = "是否废钢处理")
    private String isSteelScrap;

    @Excel(name = "流程状态")
    private String status;



    @Excel(name = "归档日期", dateFormat = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date completeTime;

    @Excel(name = "责任落实情况")
    private String zrlsqk;

    @Excel(name = "生产最终确认")
    private String sczzqr;

    @Excel(name = "最终处理情况说明")
    private String zzclqksm;

    @Excel(name = "处罚金额")
    private BigDecimal zrxgrAmount;

    @Excel(name = "整改责任人")
    private String zgzrr;

    @Excel(name = "整改完成时间", dateFormat = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date zgwcsj;
}
